﻿using System;
using System.Data;
using System.Collections.Generic;

namespace ZX.HIS.IDAL
{
	/// <summary>
	/// 接口层MedicalItem
	/// </summary>
	public interface IMedicalItem
    {
        #region 自写方法
        /// <summary>
        /// 检查医疗项添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        int MedicalItemAdd(ZX.HIS.Model.MedicalItem model);
        /// <summary>
        /// 分页显示
        /// </summary>
        /// <param name="PageIndex"></param>
        /// <param name="PageSize"></param>
        /// <param name="StrOrder"></param>
        /// <param name="StrWhere"></param>
        /// <returns></returns>
        List<ZX.HIS.Model.MedicalItem> MedicalItemShow(int PageIndex, int PageSize, string MedicalItemName, int HospitalId);
        /// <summary>
        /// 查询总数量
        /// </summary>
        /// <param name="StrWher"></param>
        /// <returns></returns>
        int MedicalItemCount(int HospitalId);
        /// <summary>
        /// 伪删除诊所
        /// </summary>
        /// <param name="IDS"></param>
        /// <param name="DeparStarte"></param>
        /// <returns></returns>
        int MedicalItemDel(ZX.HIS.Model.MedicalItem mode);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        int MedicalItemUpd(ZX.HIS.Model.MedicalItem model);

        List<ZX.HIS.Model.MedicalItem> list();
        #endregion
        #region  成员方法
        ///// <summary>
        ///// 得到最大ID
        ///// </summary>
        //int GetMaxId();
        ///// <summary>
        ///// 是否存在该记录
        ///// </summary>
        //bool Exists(int MedicalItemId);
        ///// <summary>
        ///// 增加一条数据
        ///// </summary>
        //int Add(ZX.HIS.Model.MedicalItem model);
        ///// <summary>
        ///// 更新一条数据
        ///// </summary>
        //bool Update(ZX.HIS.Model.MedicalItem model);
        ///// <summary>
        ///// 删除一条数据
        ///// </summary>
        //bool Delete(int MedicalItemId);
        //bool DeleteList(string MedicalItemIdlist );
        ///// <summary>
        ///// 得到一个对象实体
        ///// </summary>
        //ZX.HIS.Model.MedicalItem GetModel(int MedicalItemId);
        //ZX.HIS.Model.MedicalItem DataRowToModel(DataRow row);
        ///// <summary>
        ///// 获得数据列表
        ///// </summary>
        //DataSet GetList(string strWhere);
        ///// <summary>
        ///// 获得前几行数据
        ///// </summary>
        //DataSet GetList(int Top,string strWhere,string filedOrder);
        //int GetRecordCount(string strWhere);
        //DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex);
        ///// <summary>
        ///// 根据分页获得数据列表
        ///// </summary>
        ////DataSet GetList(int PageSize,int PageIndex,string strWhere);
		#endregion  成员方法
		#region  MethodEx

		#endregion  MethodEx
	} 
}
